home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_11 / filename.txt < prev    next >
Text File  |  1994-10-05  |  9KB  |  195 lines

  1. ************************* MASTER CODE ***************************************
  2.  
  3. The name of the first file in this disk's directory identifies the volume,
  4. issue number and revision of the disk. The format of this filename is:
  5.  
  6.     !CDmvvii.rrr
  7.  
  8. where
  9.  
  10.     ! = the '!' character
  11.     m =   C for C Users Journal, W for Windows/DOS Developer's Journal
  12.     vv =  volume
  13.     ii =  issue
  14.     rrr = revision (001 for initial release, 002 for next update, etc.)
  15.  
  16. The file UPDATE.DOC contains information about any additions or
  17. corrections to material on the disk since the original magazine
  18. publication.
  19.  
  20. If you have obtained this code from a floppy diskette or from CompuServe, the 
  21. headings under the column "FILENAME" represent the names of .ZIP files.  All 
  22. files listed under the filename are archived in the .ZIP file.
  23.  
  24. If you have obtained this code from UUNET, the headings under the column 
  25. "FILENAME" represent the names of subdirectories.  All files listed under the
  26. "filename" are included in a subdirectory of that name.
  27.  
  28. Keywords: Nov94 C C++ IOCTL C9X image Boolean ostream dynamic container
  29.  
  30. The code listings for the November 1994 issue of C/C++ Users Journal
  31. include source code for Tom Nelson's classes to encapsulate DOS IOCTL,
  32. Dwayne Phillips' Boolean and overlay image processing functions, plus
  33. sample listings from P.J. Plauger's column Standard C/C++:Implementing
  34. <ostream>, Chuck Allison's column, Code Capsules: Dynamic Memory
  35. Management, Part 2, Dan Saks' column, Stepping Up to C++: Generic
  36. Container Classes, Part 5.
  37. *************************  FILE DESCRIPTION **********************************
  38.  
  39. The following files are included in the disk:
  40.  
  41. FILENAME        AUTHOR-NAME    TITLE                   PAGE
  42. (Zip archive/
  43. subdirectory name)
  44. -------------------------------------------------------------------------------
  45. plauger         P.J. Plauger    Standard C/C++:    Implementing    10
  46.                     <ostream>
  47.  
  48.     ostream     - listing 1, ostream standard header
  49.     ostream.c     - listing 2, ostream basic members
  50.     oispoint.c     - listing 3, Implements ostream::operator<<(void *)
  51.     osprint.c     - listing 4, Implements
  52.                               ostream::_Print(const char *, ...)
  53.     ospad.c     - listing 5, ostream padding members
  54.     osput.c     - listing 6, Implements ostream::put(char)
  55.     osistrin.c     - listing 7, Implements 
  56.                               ostream::operator<<(const char *)
  57.     osistrea.c     - listing 8, Implements
  58.                               ostream::operator<<(streambuf&)
  59.     osflush.c     - listing 9, Implements ostream::flush()
  60.     oswrite.c     - listing 10, Implements ostream::write(const char *,
  61.                                                          int)
  62.     endl.c     - listing 11, Implements function endl(ostream&)
  63.     ends.c     - listing 12, Implements function ends(ostream&)
  64.     flush.c     - listing 13, Implements function flush(ostream&)
  65.  
  66.  
  67. nelson            Tom Nelson    Encapsulating the DOS IOCTL    27
  68.                     Interface
  69.  
  70.     iobase.h     - listing 1, IOCTL base class definition
  71.     iobase.cpp     - listing 2, IOCTL base class implementation
  72.     iohandle.h     - listing 3, Base class for handle-based IOCTL for
  73.                   character devices and files
  74.     iohandle.cpp - listing 4, Base class implementation for IOCTL for
  75.                   character devices and files
  76.     chandle.h     - listing 5, Adds character-device specific
  77.                   capability to class IoctlHandle
  78.     chandle.cpp  - listing 6, Adds character-device specific
  79.                   capability to class IoctlHandle
  80.     fhandle.h     - listing 7, Adds file-specific capability to class
  81.                   IoctlHandle
  82.     fhandle.cpp     - listing 8, Adds file-specific capability to class
  83.                   IoctlHandle
  84.     demo.cpp     - listing 9, Background print utility for testing
  85.                   IOCTL handle functions
  86.     iostruct.h     - not listed in magazine
  87.     block.h     - not listed in magazine
  88.     block.cpp     - not listed in magazine
  89.  
  90. phillips        Dwayne Phillips    Image Processing Part 12:    53
  91.                             Boolean and Overlay Operations
  92.     boole.c     - listing 1, Subroutines to perform Boolean image
  93.                   operations, some comments removed
  94.     ilabel.c     - listing 2, A portion of the ilabel program
  95.     average.c     - listing 3, A subroutine to average two images,
  96.                               listing extracted from overlay.c (found
  97.                   zip file/directory phillips2)
  98.  
  99.     boolean.c     - listing 4, The stand-alone Boolean program
  100.     
  101. phillips2        Dwayne Phillips Image Processing Part 12:
  102.                     Boolean and Overlay Operations
  103.  
  104.     Contains source text that was not listed, or was only partially
  105.     listed in the magazine, including:
  106.  
  107.     boole.c     - Subroutines to perform Boolean image operations
  108.     invert.c     - Inverts gray-scale values of an image file
  109.     ilabel.c     - Full listing of ilabel program
  110.     overlay.c     - Functions to overlay one image on top of another
  111.     pattern.c     - A program to create simple patterns in images
  112.     boolean.c     - The stand-alone Boolean program
  113.     mainover.c     - Main calling program to call overlay operations
  114.     cips.h     - Structure definition for TIFF header, required to
  115.            use new TIFF 6.0 file I/O functions
  116.     tiffs.c     - Includes new TIFF 6.0 file I/O functions
  117.     
  118. allison            Chuck Allison    Code Capsules:Dynamic Memory    71
  119.                     Management, Part 2
  120.  
  121.     str.h     - listing 1, A simple string class
  122.     str.cpp     - listing 2, The rest of the string class
  123.                   implementation
  124.     tstr.cpp     - listing 3, Exposes the string class's shallow copy
  125.     str2.h     - listing 4, String class with a copy constructor and
  126.                   assignment operator
  127.     str2.cpp     - listing 5, Adds implementation of assignment
  128.                   operator to the string class
  129.     tstr2.cpp     - listing 6, Tests string class with deep copy
  130.     virt.cpp     - listing 7, Illustrates virtual functions
  131.     field.h     - listing 8, The Field abstract class
  132.     cell.h     - listing 9, The Cell class
  133.     column.h     - listing 10, The Column class
  134.     popmenu.h     - listing 11, The Popmenu class
  135.     table.h     - listing 12, The Table class
  136.     form.h     - listing 13, The Form class
  137.     form.cpp     - listing 14, More Form member functions
  138.     tform.cpp     - listing 15, Shows the effect of virtual destructors
  139.     output.15     - listing 16, Output of tform.cpp after removing the
  140.                    virtual keyword from field.h
  141.     exhaust1.cpp - listing 17, Illustrates set_new_handler
  142.     exhaust2.cpp - listing 18, Restores traditional "return-null"
  143.                    behavior
  144.     exhaust3.cpp - listing 19, Leaves a bad_alloc exception uncaught to
  145.                    force terminate()
  146.     exhaust4.cpp - listing 20, Implements a xalloc handler
  147.     override.cpp - listing 21, Replaces global operator new and
  148.                    operator delete
  149.     opnew.cpp     - listing 22, Typical implementation of ::operator new
  150.                    and ::operator delete
  151.     t.h         - listing 23, A class with its own versions of new and
  152.                    delete
  153.     class.cpp     - listing 24, Illustrates the behavior of class-specific
  154.                    new and delete (see t.h)
  155.     output.24     - listing 25, Output from class.cpp
  156.     overload.cpp - listing 26, A placement operator new with two arguments
  157.     vector.cpp     - listing 27, A Vector class template that manages its
  158.                    own heap
  159.     tvector.cpp     - listing 28, Tests the Vector class
  160.     output.28     - listing 29, Output from tvector.cpp
  161.     pool.h     - listing 30, C Interface from a generic memory pool
  162.                    manager (answer to last month's puzzle)
  163.     pool.c     - listing 31, Generic pool manager implementation
  164.                    (answer to last month's puzzle)
  165.     
  166.  
  167. saks            Dan Saks    Stepping Up to C++: Designing    91
  168.                     Generic Container Classes,
  169.                     Part 5
  170.  
  171.     generic.h     - listing 1, A simple version of generic.h
  172.     strtst7.cpp     - listing 2, A test program for generic queues based
  173.                   on the generic.h macros
  174.     strq7.cpp     - listing 3, Instantiate an implementation for queue
  175.                   of str
  176.     queue7.h     - listing 4, Macro definitions for instantiating a
  177.                   type-specific wrapper around a generic
  178.                   queue of void *
  179.     queue8.h     - listing 5, Macro definitions for instantiating a
  180.                   queue of T (not a wr